package top.dark.product.dao;

import org.apache.ibatis.annotations.Param;
import top.dark.product.entity.CategoryBrandRelationEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * 品牌分类关联
 *
 * @author lijiao
 * @email DarknessShadow11@outlook.com
 * @date 2021-02-01 10:42:11
 */
@Mapper
public interface CategoryBrandRelationDao extends BaseMapper<CategoryBrandRelationEntity> {

    void updateBrandName(@Param("brandId") Long brandId, @Param("name") String name);

    void updateCategoryName(@Param("catelogId") Long catelogId, @Param("name") String name);
}
